﻿using System;
using UnityEngine;

// Token: 0x020001BD RID: 445
public class CutAct_Light : CutAction
{
	// Token: 0x06000B89 RID: 2953 RVA: 0x00043A34 File Offset: 0x00041C34
	public CutAct_Light(CutScene cutScene) : base(cutScene, CUTACT.LIGHT)
	{
	}

	// Token: 0x06000B8A RID: 2954 RVA: 0x00043A4C File Offset: 0x00041C4C
	public override object Clone()
	{
		return new CutAct_Light(this.cutScene);
	}

	// Token: 0x06000B8B RID: 2955 RVA: 0x00043A5C File Offset: 0x00041C5C
	public override void Load(TagText.Element element, int order)
	{
		base.Load(element, order);
		element.GetVal(ref this.light.x, "light", 0);
		element.GetVal(ref this.light.y, "light", 1);
	}

	// Token: 0x06000B8C RID: 2956 RVA: 0x00043A98 File Offset: 0x00041C98
	public override void Save(TagText.Element element)
	{
		base.Save(element);
		element.AddAttribute("light", this.light.x.ToString());
		element.AddAttribute("light", this.light.y.ToString());
	}

	// Token: 0x06000B8D RID: 2957 RVA: 0x00043AF0 File Offset: 0x00041CF0
	public override void Action(bool skip)
	{
		this.cutScene.SetLight(this.light.y, this.light.x);
	}

	// Token: 0x04000BC9 RID: 3017
	public Vector3 light = Vector3.zero;
}
